package pers.huangyuhui.sms.mapper;

import org.apache.ibatis.annotations.Param;
import pers.huangyuhui.sms.model.AdminInfo;

public interface AdminMapper {

    /**
     * @Title: getUserInfo
     * @Description: 获取用户信息
     * @param: name
     * @param: password
     * @return: AdminInfo
     */
    public AdminInfo getUserInfo(@Param("name") String name ,@Param("password") String password);

    /**
     * @Title: modifyPassword
     * @Description: 修改密码
     * @param: newPassword
     * @param: id
     * @return: boolean
     */
    public boolean modifyPassword(@Param("password") String newPassword ,@Param("id") String id);
}
